<%--
  Created by IntelliJ IDEA.
  User: honor
  Date: 2025/7/29
  Time: 11:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>错误</title>
</head>
<body>
<div class="alert alert-danger">
    <h3>出错了</h3>
    <p id="msg"></p>
    <a href="javascript:history.back()">返回上一页</a>
</div>
<script>
    const url = new URL(location);
    document.getElementById("msg").textContent = decodeURIComponent(url.searchParams.get("msg") || "未知错误");
</script>
</body>
</html>
